using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class User_DateTest : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DateTime dtNow = new DateTime();
        dtNow = CE.Global.General.GetUTCDateTime();
        for (int i = 1; i < 31; i++)
        {
            DateTime dtTemp = dtNow.AddDays(i);
            string strDate = dtTemp.Date.Day.ToString("00") + "/" + dtTemp.Date.Month.ToString("00") + "/" + dtTemp.Date.Year.ToString("0000");
            ddlDateList.Items.Add(new ListItem(strDate));
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text = UsrDate1.GetDate().ToShortDateString();
    }
}
